-- GENERATED SPELL FOR [Saltstone Crystalhide] --


function spell0_4151(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(8129,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4151', 3000, 1)
end

function Sorts_4151(pUnit, Event)
local choix_sorts_4151 = math.random(0, 0)
if choix_sorts_4151 == 0 then
pUnit:RegisterEvent('spell0_4151', 1, 1)
end
end

function mob4151_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4151', math.random(1500, 3000), 1)
end

function mob4151_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4151_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4151_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4151, 1, 'mob4151_Action')
RegisterUnitEvent(4151, 2, 'mob4151_Leave')
RegisterUnitEvent(4151, 3, 'mob4151_Kill')
RegisterUnitEvent(4151, 4, 'mob4151_Die')
